:root {
    font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;

    color-scheme: light dark;
    color: rgba(255, 255, 255, 0.87);
    background-color: #242424;

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    font-weight: 500;
    color: #646cff;
    text-decoration: inherit;
}
a:hover {
    color: #535bf2;
}

body {
    margin: 0;
    display: flex;
    place-items: center;
    min-width: 320px;
    min-height: 100vh;
}

h1 {
    font-size: 3.2em;
    line-height: 1.1;
}

button {
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 0.6em 1.2em;
    font-size: 1em;
    font-weight: 500;
    font-family: inherit;
    background-color: #1a1a1a;
    cursor: pointer;
    transition: border-color 0.25s;
}
button:hover {
    border-color: #646cff;
}
button:focus,
button:focus-visible {
    outline: 4px auto -webkit-focus-ring-color;
}

.card {
    padding: 2em;
}

#app {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0rem;
    text-align: center;
}

@media (prefers-color-scheme: light) {
    :root {
        color: #78b1e5;
        background-color: #ffffff;
    }
    a:hover {
        color: #747bff;
    }
    button {
        background-color: #f9f9f9;
    }
}
.background-page {
    /* 背景图片地址 */
    /*background-image: url('assets/bg.jpg');*/
    /*background-color: #111d61;*/
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(7, 65, 122, 0) 25%, rgba(7, 65, 122, 0) 75%, rgba(0, 0, 0, 0.77) 100%);
    /* 覆盖整个元素 */
    background-size: cover;
    /* 让上层盒子不接收鼠标事件 */
    pointer-events: none;
    /* 背景图片固定，不随页面滚动 */
    background-attachment: fixed;
    /* 背景图片居中 */
    background-position: center;
    /* 背景图片不平铺 */
    background-repeat: no-repeat;
    /* 高度设置，确保可以覆盖整个可视区域 */
    min-height: 100vh;
    /* 其他样式 */
    width: 100%;
    z-index: 10;
    position: fixed;
    filter: opacity(1); /* 10% 透明度 */
}
.head{
    background: url(assets/bg_head.png) no-repeat center center;
    background-size: 100% 100%;
    position: relative;
    top: 0;
    left: 0;
    height: 4rem;
    z-index: 100;
}
.head .title{
    font-size: 1.8rem;
    text-align: center;
}
.content{
    position: absolute;
    top: 0.1rem;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #111d61;
    /*background-image: url('assets/bg.jpg');*/
}
.layout{
    position: absolute;
    width: 20%;
    z-index: 300;
}
.layout-left-top{
    left: 0;
    top: 10%;
    height: 30%;
}
.layout-left-bottom{
    left: 0;
    top: 40%;
    height: 60%;
}
/*.layout-center-top{*/
/*    top: 0;*/
/*    left: 33.33%;*/
/*    right: 66.6%;*/
/*    height: 25%;*/
/*}*/
/*.layout-center-bottom{*/
/*    top: 25%;*/
/*    left:33.33%;*/
/*    right: 66.6%;*/
/*    bottom: 0;*/
/*}*/
.layout-right-top{
    top: 10%;
    right: 0;
    height: 50%;
}
.layout-right-bottom{
    top: 55%;
    height: 50%;
    right: 0;
    bottom: 0;
}
.panel{
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    right: 0.5rem;
    bottom: 0.5em;
    /*border: 1px solid rgba(25,186,139,.17);*/
}
.panel.border-left-top:before,
.panel.border-all:before{
    position: absolute;
    width: 0.3rem;
    height: 0.3rem;
    content: "";
    /*border-top: 2px solid #02a6b5;*/
    /*border-left: 2px solid #02a6b5;*/
    left: 0;
    top: 0;
}
.panel.border-right-top:after,
.panel.border-all:after{
    position: absolute;
    width: 0.3rem;
    height: 0.3rem;
    content: "";
    /*border-top: 2px solid #02a6b5;*/
    /*border-right: 2px solid #02a6b5;*/
    right: 0;
    top: 0;
}
.panel.border-left-bottom .border-foot:before,
.panel.border-all .border-foot:before{
    position: absolute;
    width: 0.3rem;
    height: 0.3rem;
    content: "";
    /*border-bottom: 2px solid #02a6b5;*/
    /*border-left: 2px solid #02a6b5;*/
    left: 0;
    bottom: 0;
}
.panel.border-right-bottom .border-foot:after,
.panel.border-all .border-foot:after{
    position: absolute;
    width: 0.3rem;
    height: 0.3rem;
    content: "";
    /*border-bottom: 2px solid #02a6b5;*/
    /*border-right: 2px solid #02a6b5;*/
    right: 0;
    bottom: 0;
}
.panel > .title{
    position: absolute;
    top: 0.2rem;
    right: 0.3rem;
    left: 0.3rem;
    height: 1.5rem;
    text-align: center;
    -webkit-box-shadow: rgba(0, 0, 0, 0.63) 0 0 10px;
    -moz-box-shadow: #07417a 0 0 10px;
    /*box-shadow: inset 0 0 30px #07417a;*/
    /*background-image: linear-gradient(to right, rgb(0, 0, 0) 0%, #07417a 25%,#07417a 75%, rgba(255, 255, 255, 0) 100%);*/

    /*TODO title样式*/
    /*border-bottom: 1px solid rgba(255,255,255,.2);*/
}
.panel > .title.title-left{
    background-image: linear-gradient(to right, rgb(0, 0, 0) 0%, #07417a 25%,#07417a 75%, rgba(255, 255, 255, 0) 100%);
}
.panel > .title.title-right{
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #07417a 25%,#07417a 75%, rgb(0, 0, 0) 100%);
}
.panel .chart{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    top:0.2rem;
    right: 0.1rem;
    bottom: 0.1rem;
    left: 0.2rem;
}
